﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" ValidateRequest="false" AutoEventWireup="true" CodeBehind="PostComment.aspx.cs" Inherits="NEWS.Admin.PostComment" %>
<asp:Content ID="content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>    
    <div class="dashboard">
        <h2 class="blockhead">
            <asp:Label ID="lblheader" runat="server" Text="Gửi bình luận"></asp:Label>
        </h2>
		<div class="blockbody formcontrols">
			<div class="sectioncachon">
			    <div class="blockrow">
					<div>
					   <asp:Label ID="message" runat="server" Font-Bold="True" Font-Size="Small" ForeColor="Red"></asp:Label>
					</div>
				</div>
                <asp:Panel ID="pn_iduser" runat="server" Visible="true" >
                    <div class="blockrow">
					    <div>
					        <asp:Label ID="lblforumcommentid" runat="server" Text="Mã bình luận: "></asp:Label>
					         <asp:TextBox ID="txtforumcommentid" ReadOnly="true" Enabled="false" runat="server"></asp:TextBox>
					    </div>
				    </div>
				    <div class="blockrow">
					    <div>
					        <asp:Label ID="lblmatin" runat="server" Text="Mã tin: "></asp:Label>
					         <asp:TextBox ID="txtmatin" ReadOnly="true" Enabled="false" runat="server"></asp:TextBox>
					    </div>
				    </div>
				    <div class="blockrow">
					    <div>
					        <asp:Label ID="lblusername" runat="server" Text="Tên người bình luận: "></asp:Label>
					        <asp:TextBox ID="txtusername" ReadOnly="true" Enabled="false" runat="server"></asp:TextBox>
					    </div>
				    </div>
                </asp:Panel>
                <asp:Panel ID="pn2" runat="server">
                    <div class="blockrow">
                        <div>
					        <asp:Label ID="Label1" runat="server" Text="Tiêu đề bài viết: "></asp:Label>
					        <asp:Label ID="lbltieudetinbl" runat="server" Text=""></asp:Label>
					    </div>
					    <div>
					       
					    </div>
					    <div>
					        <asp:Label ID="lbltitle" runat="server" Text="Tiêu đề bình luận: "></asp:Label>
					    </div>
					    <div>
					        <asp:TextBox ID="txttitle" runat="server" Width="540px"></asp:TextBox>
					    </div>
				    </div>
                </asp:Panel>
                 <asp:Panel ID="pn_ngay" runat="server">
                     <div class="blockrow">
					    <div>
					        <asp:Label ID="lblcreateddate" runat="server" Text="Ngày đăng: "></asp:Label> 
					        <asp:Label ID="lbldatecreated" runat="server" Text=""></asp:Label>
					    </div>
				     </div>
                	<div class="blockrow">
					    <div>
					        <asp:Label ID="lblupdatedate" runat="server" Text="Ngày cập nhật gần nhất: "></asp:Label> 
					        <asp:Label ID="lbldateupdate" runat="server" Text=""></asp:Label>
					    </div>
				    </div>
                  </asp:Panel> 
				<div class="blockrow">
					<div>
					    <asp:Label ID="lblcontent" runat="server" Text="Nội dung: "></asp:Label>
					</div>					
					<script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
                        <script type="text/javascript">

                            window.onload = function () {

                                CKEDITOR.replace('ctl00_ContentPlaceHolder1_txtcontent');

                            }
                        </script>
					<div>
                        <asp:TextBox ID="txtcontent" runat="server"  TextMode="MultiLine" ></asp:TextBox>
					</div>
				</div>
			</div>
		</div>
		<div class="rightbutton">
		<span style="float:right;">
            <asp:Button ID="btnguibinhluan" runat="server" Text="Gửi bình luận" 
                onclick="btnguibinhluan_Click" CausesValidation="True" />
            <asp:Button ID="btntback" CausesValidation="false" runat="server" Text="Trở về" onclick="btnback_Click" />
        </span> 
		</div>
    </div>
</asp:Content>

